package org.gwt.pluginframework.common;

import java.io.Serializable;

public interface IPlugin extends PluginLifeCycle, Serializable, Comparable<IPlugin> {
	
	boolean isManaged();
	
	// FIXME would not be better to have methods setName, setVersion to be
	// implemented
	// when annotations will work it wont matter
	void setupManifest();
	
	void setPluginManager(IPluginManager manager);
	
	PluginManifest getManifest();
	
	String getName();
	
	String getVersion();
	
	boolean isStarted();
}
